package net.aaa.hotel.entity;

public class PageInfo {
    private Integer curr;
    private Integer nums;
    private String condition;

    public PageInfo() {
    }

    public PageInfo(Integer curr, Integer nums, String condition) {
        this.curr = curr;
        this.nums = nums;
        this.condition = condition;
    }

    public Integer getCurr() {
        return curr;
    }

    public void setCurr(Integer curr) {
        this.curr = curr;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    @Override
    public String toString() {
        return "PageInfo{" +
                "curr=" + curr +
                ", nums=" + nums +
                ", condition='" + condition + '\'' +
                '}';
    }
}
